package com.kmust.dream.wanderingdream.donation.feign;

import com.kmust.dream.wanderingdream.donation.config.FeignMultipartConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "wanderingdream-sys")
public interface NickName {
    @PostMapping(value = "/sys/test/user/getnickname")
    String getNickname(@RequestParam("name") String name);
}
